package com.tron.thread;

public class ThreadStart {
    public static void main(String[] args) {
        final MyThread myThread = new MyThread();
        myThread.start();
        for (int i = 0; i < 10000; i++) {
            System.out.print("_");
        }
    }

    public static class MyThread extends Thread {
        @Override
        public void run() {
            for (int i = 0; i < 10000; i++) {
                System.out.print("-");
            }
        }

    }
}
